package com.trkj.jdk;

import com.trkj.jdk.Log;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service
@Component
@Slf4j
public class LogService {

    @Ad()
    public void addProductToInventory() {
        log.debug("入库");
    }

    @Log("新增商品操作")
    public void addNewProduct() {
        log.debug("新增");
    }
}
